home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sun Solutions 2000 #2
/
Sun Solutions CD (Volume 2 2000)(Special Focus - Java Technologies)(Disc 1).ISO
/
products
/
Software
/
BostonBusinessComputing
/
bbc
/
vbackup.cat
< prev
next >
Wrap
Text File
|
2000-02-11
|
45KB
|
991 lines
Vbackup(1) Boston Business Computing Vbackup(1)
NAME
Vbackup - perform backups, access DEC archives
SYNOPSIS
vvbbaacckkuupp --cc[11aaAAbbBBCCDDeeFFggiiIIKKLLmmMMnnNNPPRRssttTTuuvvVVwwyyYY] [--ff_d_e_v_i_c_e] _f_i_l_e_s
vvbbaacckkuupp --xx[11aaAACCDDeeFFjjMMnnooppQQRRssttTTuuUUvvVVwwyyYY] [--ff_d_e_v_i_c_e] [_f_i_l_e_s]
vvbbaacckkuupp --tt[11AAccDDeeFFMMnnRRssTTuuvvxx] [--ff_d_e_v_i_c_e] [_f_i_l_e_s]
vvbbaacckkuupp --MM[11ccDDIINNttTTuuxx] [--ff_d_e_v_i_c_e]
vvbbaacckkuupp --DD[11ccIIMMttTTuuxx] [--ff_d_e_v_i_c_e]
vvbbaacckkuupp --II[11BBccDDMMNN] [--ff_d_e_v_i_c_e]
vvbbaacckkuupp ----iinnffoo
vvbbaacckkuupp ----rreesseett [--ff_d_e_v_i_c_e]
DESCRIPTION
Vbackup has two main purposes:
1. to make backups of online data; and
2. to transfer data between VMS, RSTS, UNIX, and Windows systems.
The intersection of these two purposes is the DEC BACKUP archive format.
This format was designed to resist data corruption due to media degrada-
tion, while making efficient use of media capacity and throughput. It pro-
vides a high level of data safety, and is also commonly used in VMS and
RSTS archives.
Vbackup reads and writes:
o+ DEC BACKUP archives, also known as _s_a_v_e _s_e_t_s;
o+ Files-11 archives, which can be created on VMS using the INITIALIZE,
MOUNT, and COPY utilities; and
o+ Vbackup archives, which are save sets with DEC BACKUP-compatible
extensions to store UNIX- and Windows-specific information.
Each command line may be specified using either of two syntaxes:
o+ _t_a_r-_s_t_y_l_e, which is similar to that of UNIX ttaarr; and
o+ _V_M_S-_s_t_y_l_e, which is similar to that of VMS BACKUP.
This document deals primarily with tar-style syntax; see the printed manual
for information about VMS-style syntax.
The eight command line forms in the synopsis correspond to the following
eight modes of operation:
Save Mode
In save mode, Vbackup copies _f_i_l_e_s to an archive located at _d_e_v_i_c_e,
which is a tape device, CD-ROM device, or disk file.
Restore Mode
In restore mode, Vbackup extracts _f_i_l_e_s from an archive located at
_d_e_v_i_c_e, which is a tape device, CD-ROM device, or disk file. If no
_f_i_l_e_s are specified, all files in the archive are extracted.
List Mode
In list mode, Vbackup lists information about _f_i_l_e_s in an archive
located at _d_e_v_i_c_e, which is a tape device, CD-ROM device, or disk
file. If no _f_i_l_e_s are specified, all files in the archive are listed.
Mount Mode
In mount mode, Vbackup emulates the VMS MOUNT command, verifying the
volume name of the tape or CD-ROM in _d_e_v_i_c_e and preparing for fast
access to it. Vbackup automatically mounts devices as necessary, so
normally there is no need to specify this mode on the command line.
Dismount Mode
In dismount mode, Vbackup emulates the VMS DISMOUNT command, making
_d_e_v_i_c_e available for other tapes or CD-ROMs or for access by other
programs. If a device is mounted from a login shell, Vbackup arranges
for it to be automatically dismounted when that shell exits. Other-
wise, it is necessary to run Vbackup in dismount mode to allow other
users or programs to use the device.
Initialize Mode
In initialize mode, Vbackup emulates the VMS INITIALIZE command, dis-
carding all data on the tape in _d_e_v_i_c_e and electronically labeling it
with a new volume name and other information. Vbackup automatically
initializes tapes as necessary, so normally there is no need to
specify this mode on the command line.
Info Mode
In info mode, Vbackup displays information about itself. Currently,
the displayed information consists of the names of the devices that
Vbackup will access if none are explicitly specified.
Reset Mode
In reset mode, Vbackup arranges for the next access of tape or CD-ROM
_d_e_v_i_c_e to be unaffected by problems that occurred when Vbackup previ-
ously accessed it.
OPTIONS
--11
----ffiilleess--1111
Causes the --cc, --xx, --tt and --TT options to access tapes as Files-11
archives. See _A_r_c_h_i_v_e _F_o_r_m_a_t in chapter 2 of the printed manual for
more information.
--AA
----nnooaassssiisstt
Prompts for confirmation before attempting to access a tape device
after failure of the previous attempt. Normally, Vbackup periodically
tries to access a tape device until it succeeds or is interrupted.
----aacccceesssseedd
Causes the --YY and --yy options to compare against each file's access
date. See _F_i_l_e _D_a_t_e_s in chapter 6 of the printed manual for more
information.
--bb _s_i_z_e
----bblloocckk--ssiizzee _s_i_z_e
Sets the save set's block size to _s_i_z_e bytes.
Save set blocks are the units of data recovery: if media corruption
occurs, errors in one block per sequence of _g_r_o_u_p-_s_i_z_e blocks can be
corrected, where _g_r_o_u_p-_s_i_z_e is the value specified by the --gg option.
A tape save set's block size is also the length of the physical tape
records used for storing the save set.
Each block incurs a small, fixed amount of space overhead, and each
save set is padded to the nearest multiple of the block size. There-
fore, the size of a save set may be decreased slightly by increasing
its block size if it contains a large amount of data and by decreasing
its block size otherwise.
_s_i_z_e may range from 2048 to 65535, and defaults to 32256 for disk save
sets and 8192 for tape save sets. Vbackup rounds _s_i_z_e up to the
nearest multiple of 512, and silently imposes a maximum of 65024 and
32256 respectively for tape and disk save sets.
On a tar-style command line, _s_i_z_e may also range from 4 to 127, in
which case Vbackup multiplies _s_i_z_e by 512.
----bbaacckkuupp
Causes the --YY and --yy options to compare against each file's backup
date. See _F_i_l_e _D_a_t_e_s in chapter 6 of the printed manual for more
information.
----bbrriieeff
Causes the --tt and --TT option to display the default, minimal amount of
detail about each file in the listed archives, canceling the effect on
the listing of any ----ffuullll option or --vv option that occurs earlier on
the command line.
--cc
----wwrriittee
Saves files to an archive.
On VMS-style command lines, this option is normally implied by the
combination of a file or list of files as the first parameter and an
archive as the second.
See _O_p_e_r_a_t_i_n_g _M_o_d_e_s in chapter 2 of the printed manual and _A_r_c_h_i_v_e
_L_o_c_a_t_i_o_n_s in chapter 2 of the printed manual for more information.
--CC _d_i_r
----ddiirreeccttoorryy _d_i_r
Sets the default directory to _d_i_r prior to saving or restoring files
that follow this option on the command line. The option may be speci-
fied any number of times on a single command line.
If a restore command line does not specify particular files to
restore, this option applies to all files restored.
When saving, _d_i_r is relative to the directory specified in the previ-
ous instance of this option if there is one, and to the current direc-
tory otherwise. When restoring, _d_i_r is always relative to the current
directory.
This option overrides the target directory selection of the ----oouuttppuutt
option, normally specified as the second parameter of VMS-style
restore command lines.
----cchhaannggeedd
Causes the --YY and --yy options to compare against each file's change
date. See _F_i_l_e _D_a_t_e_s in chapter 6 of the printed manual for more
information.
----ccoonnvveerrtt _k_e_y_w_o_r_d
Controls various aspects of the format in which Vbackup saves,
restores, and lists files. The particular aspect controlled depends
on the value of _k_e_y_w_o_r_d, which may be one of the following:
DDEELLIIMM
During restore, the non-negated and negated forms of this option
respectively insert and omit record terminators after each record of
every restored file. Normally, Vbackup infers whether to insert or
omit record terminators from the record format and attributes of the
original file. See _C_o_n_v_e_r_s_i_o_n _D_u_r_i_n_g _R_e_s_t_o_r_e in chapter 6 of the
printed manual for more information.
EEOOFF--DDEELLIIMM
When restoring from a DEC BACKUP save set, if a file has STREAM,
STREAM_LF, or STREAM_CR record format and does not end with a record
terminator, Vbackup normally appends a record terminator to the
restored file. The negative form of this option disables that
feature.
FFOORRMMAATT==_f_m_t
Stores files in the record format specified by _f_m_t, which may be
FFIIXX, VVAARR, or IINNFFEERR. See _C_o_n_v_e_r_s_i_o_n _D_u_r_i_n_g _S_a_v_e in chapter 6 of the
printed manual for more information.
LLIISSTT==_s_y_s
When listing the contents of a save set, shows only information
meaningful on the system indicated by _s_y_s, which must be one of the
following:
OORRIIGGIINNAALL the system on which the save set was created
LLOOCCAALL the system on which the save set is being read
UUNNIIXX a UNIX system
VVMMSS an OpenVMS system
SSCCAANN==_n
In conjunction with the ----ccoonnvveerrtt==ffoorrmmaatt==iinnffeerr option, scans the
first _n instead of the first 512 bytes of each file for non-
printable characters. See _C_o_n_v_e_r_s_i_o_n _D_u_r_i_n_g _S_a_v_e in chapter 6 of
the printed manual for more information.
SSIIZZEE==_n
When storing files in FIXED record format, uses a record length of _n
instead of the default 512 bytes. See _C_o_n_v_e_r_s_i_o_n _D_u_r_i_n_g _S_a_v_e in
chapter 6 of the printed manual for more information.
SSTTMM--NNUULLLLSS
When restoring a file with STREAM record format from a DEC BACKUP
save set, Vbackup normally deletes null characters at the beginning
of each record. The negative form of this option disables that
feature.
----ccrreeaatteedd
Causes the --YY and --yy options to compare against each file's creation
date. See _F_i_l_e _D_a_t_e_s in chapter 6 of the printed manual for more
information.
--DD
----ddiissmmoouunntt
Dismounts the tape or CD-ROM in the indicated device, making it avail-
able for different tapes or CD-ROMs or for access by other programs.
If a device is mounted from a login shell, Vbackup arranges for it to
be automatically dismounted when that shell exits. Otherwise, it is
necessary to run Vbackup with this option to allow other users or pro-
grams to use the device.
----ddeessccrriibbee _d_e_v_i_c_e
Specifies that ----mmeeddiiaa options that follow this option describe
default characteristics of archive location _d_e_v_i_c_e.
----mmeeddiiaa options following a --ff option override characteristics
described using this option.
When crossing option source boundaries, values of this option accumu-
late rather than overriding each other. See _C_r_o_s_s_i_n_g _O_p_t_i_o_n _B_o_u_n_-
_d_a_r_i_e_s in chapter 3 of the printed manual for more information.
This option is typically used in configuration files.
In a configuration file, indicates that tape device
//ddeevv//rrmmtt//ttppss00dd55nnrrnnssvv does not support software unload requests.
--ee _f_i_l_e_s
----eexxcclluuddee _f_i_l_e_s
Excludes files matching _f_i_l_e_s from being saved, restored, or listed.
_f_i_l_e_s may contain wildcards.
When crossing option source boundaries, values of this option accumu-
late rather than overriding each other. See _C_r_o_s_s_i_n_g _O_p_t_i_o_n _B_o_u_n_-
_d_a_r_i_e_s in chapter 3 of the printed manual for more information.
----eexxppiirreedd
Causes the --YY and --yy options to compare against each file's expiration
date. See _F_i_l_e _D_a_t_e_s in chapter 6 of the printed manual for more
information.
--FF
----vvmmss--ddiissppllaayy
Uses VMS-style syntax when displaying file specifications in messages
and in archive listings. Normally, Vbackup displays file specifica-
tions in UNIX-style syntax when started using a tar-style command
line, and in VMS-style syntax when started using a VMS-style command
line.
--ff _d_e_v_i_c_e
----ddeevviiccee _d_e_v_i_c_e
Accesses archives at the location specified by _d_e_v_i_c_e, which may be
the name of a tape or CD-ROM drive, the path of a disk file, or a
hyphen (--) to indicate a pipe.
On VMS-style command lines, this option is normally specified as part
of the second parameter when saving and as part of the first parameter
when restoring or listing.
If this option is not specified, the archive location defaults to the
system default tape device.
See _A_r_c_h_i_v_e _L_o_c_a_t_i_o_n_s in chapter 2 of the printed manual and chapter
5, _T_a_p_e _a_n_d _C_D-_R_O_M _D_r_i_v_e_s in the printed manual for more information.
----ffuullll
Causes the --tt and --TT option to display more detail about each file in
the listed archives. Depending on the listing format, the extra
detail may include file type, record format, permissions, creation
time, modification time, ownership, group membership, and other
characteristics.
--gg _s_i_z_e
----ggrroouupp--ssiizzee _s_i_z_e
When creating a save set, arranges for future errors in any one block
per sequence of _s_i_z_e data blocks to be correctable. The error correc-
tion mechanism writes one extra non-data block per sequence of _s_i_z_e
data blocks unless _s_i_z_e is 0, in which case no extra blocks are writ-
ten and no errors are correctable. _s_i_z_e may range from 0 to 100, and
defaults to 10.
--HH
----hheellpp
Displays a brief description of how to construct tar-style Vbackup
command lines.
--ii
----iinntteerrcchhaannggee
When creating a save set, sets the block size and group size to their
respective defaults of 8192 and 10. This enhances save set portabil-
ity to non-VMS DEC systems.
--II
----iinniittiiaalliizzee
Discards all data on the indicated tape and electronically labels the
tape with a new volume name and other characteristics. See _L_a_b_e_l_s in
chapter 6 of the printed manual for more information.
Vbackup automatically initializes tapes as necessary, so normally
there is no need to specify this option.
----iiggnnoorree _k_e_y_w_o_r_d
Ignores information that normally could cause some special action.
The particular information ignored depends on the value of _k_e_y_w_o_r_d,
which may be one of the following:
LLAABBEELL__PPRROOCCEESSSSIINNGG
Disables the normal volume name and expiration date checks when
writing to a tape. See _L_a_b_e_l_s in chapter 6 of the printed manual
for more information.
MMOODDIIFFIIEEDD__LLIINNKKSS
Ignores changes to files when determining whether two file names are
links to the same file. Normally, Vbackup assumes two file names
are unrelated if the file they reference changes after encountering
one name but before encountering the other.
----iinnffoo
Displays the following information:
o+
the devices that Vbackup will access if no devices are specified on
the command line;
o+
the system default tape drive that Vbackup will access if no devices
are specified on the command line or in any configuration files.
----iinnppuutt _f_i_l_e
During a save operation, specifies the files that should be saved in
an archive.
This option is normally specified as the first parameter on VMS-style
command lines and as all parameters on tar-style command lines,
although it may also be specified as a regular option on both types of
command line.
See _S_p_e_c_i_f_y_i_n_g _F_i_l_e_s _T_o _S_a_v_e in chapter 4 of the printed manual for
more information.
--jj _n
----jjuunnkk _n
When restoring directory trees, discards the leading _n directory com-
ponents of each restored file's original path.
If _n exceeds the number of directories in a file's original path, the
file is restored into the top level of the output directory. A large
_n can therefore be used to restore files into a flat directory struc-
ture.
This option overrides any original path modification effects of the --
--oouuttppuutt option, normally specified as the second parameter of VMS-
style restore command lines.
--KK
----ddeelleettee
During save, deletes each file immediately after it is saved.
--LL
----lliinnkk
When creating a save set, saves symbolic links as hard links, allowing
them to be restored as regular files on systems that do not support
symbolic links, such as VMS. Normally, Vbackup saves symbolic links
as symbolic links, which are restored as zero-length files on systems
that do not support symbolic links.
This option has no effect when creating an archive in Files-11 format,
which supports neither symbolic nor hard links.
----lloogg
When saving to or restoring from an archive, displays a log message
immediately after saving, restoring, or deleting each file.
--mm
----ccrroossss
During save, crosses NFS or other mount points while scanning direc-
tory trees. Normally, Vbackup stays within the bounds of the file
systems containing the directory trees it searches.
--MM
----mmoouunntt
Mounts the tape or CD-ROM in the indicated device, verifying the
volume name of the media and preparing for fast access to it.
Vbackup automatically mounts media as necessary, so normally there is
no need to specify this option.
----mmeeddiiaa _k_e_y_w_o_r_d
This option must follow a device specification. It provides informa-
tion on how to access the device whose specification it follows.
This option should generally not be used unless it is explicitly
recommended by Boston Business Computing technical support. Normally,
Vbackup infers a suitable access mechanism for each device, making
this option unnecessary under most circumstances. When it is neces-
sary, it is typically specified in configuration files to avoid exces-
sively long and cryptic command lines.
The nature of the information provided by this option depends on the
value of _k_e_y_w_o_r_d, which may be one of the following:
BBLLKKSSIIZZ==_n
If _n is zero, indicates that the device accepts variable-length
blocks; otherwise, specifies that the hardware-imposed tape block
size is _n bytes.
DDEENNSSIITTYY==_n
Specifies that tapes contain _n bytes of data per inch.
DDIISSAABBLLEE
Disables the device operations specified by _k_e_y_w_o_r_d, which may be
one of the following:
DDIISSMMOOUUNNTT
Disables rewind, offline, and unload operations during dismount.
When reading a high-capacity tape containing a multi-volume save
set originally stored on several smaller-capacity tapes, this may
be useful for preventing the tape from rewinding at volume boun-
daries.
OOFFFFLLIINNEE
Disables all offline operations.
UUNNLLOOAADD
Disables all unload operations. This may be necessary for media
changes to happen automatically when accessing a multi-volume
archive in a multi-tape loader.
DDIISSKK
Indicates that the device is a disk rather than a tape.
EEOOFFAA==_k_e_y_w_o_r_d
Upon detecting end-of-file, performs the action specified by _k_e_y_-
_w_o_r_d, which may be one of ffssff00, ffssff11, or nnoonnee.
EEXXTTFFMMAARRKKSS
Indicates that the device uses extended file marks.
FFMMAARRKKLLEENN==_n
Specified that tape file marks occupy the same amount of tape as _n
bytes of data.
FFUUTTUURREE--AAPPPPEENNDD
If the device cannot overwrite file marks, writes one instead of two
file marks when closing a file on a tape to allow future appends to
that tape.
IIRRGG==_n
Specifies that tape inter-record gaps occupy the same amount of tape
as _n bytes of data.
LLEENNGGTTHH==_n
If the device does not support backspacing past and overwriting
records, avoids writing beyond the first _n meters of a tape.
MMRREEWWRRIITTEE
Indicates that the tape can backspace past and overwrite file marks.
NNOOUUNNLLOOAADD
Indicates that the device does not support software unload requests.
OOFFLLAAGGSS==_f_l_a_g_s
Performs a bitwise inclusive OR of the tape open flags with _f_l_a_g_s
before opening each tape.
RRMMTT--PPAATTHH==_p_a_t_h
If the device is on a remote system, starts the rrmmtt program on the
remote system by running _p_a_t_h instead of the default //eettcc//rrmmtt.
RRRREEWWRRIITTEE
Indicates that the tape can backspace past and overwrite records.
RRSSHH--PPAATTHH==_p_a_t_h
If the device is on a remote system, runs _p_a_t_h to open a channel to
the remote system.
SSFFWWRRIITTEE
Indicates that the device cannot append to a tape after reading past
a file mark instead of skipping past it.
TTAAPPEE
Indicates that the device is a tape rather than a disk.
TTIIOO==_k_e_y_w_o_r_d
Accesses the device using the tape ioctl interface indicated by _k_e_y_-
_w_o_r_d, which may be one of mmttiioo, DDiiggiittaall, IIRRIIXX, LLiinnuuxx, AAIIXX, SSCCOO,
IInntteell, or AATTTT.
As with any keyword, each _k_e_y_w_o_r_d may be negated by prepending NNOO to
it.
----mmooddiiffiieedd
Causes the --YY and --yy options to compare against each file's modifica-
tion date. See _F_i_l_e _D_a_t_e_s in chapter 6 of the printed manual for more
information.
--nn
----nnooccrrcc
Inhibits CRC (Cyclic Redundancy Check) calculation and storage.
Normally, Vbackup calculates and stores the CRC of each block in the
save set during save, and recalculates the CRC of each block to detect
and possibly correct corrupted data during restore.
This option short-circuits that mechanism, making it impossible for
Vbackup to detect or correct media errors when reading save sets
created with this option.
CRC calculation is computationally cheap, and CRC storage does not
affect archive size, so usually there is no reason to specify this
option.
--NN _n_a_m_e
----llaabbeell _n_a_m_e
When writing to the beginning of a tape, sets the tape's volume name
to the result of truncating _n_a_m_e to 6 characters, converting it to
uppercase, and replacing invalid characters in it with underscores
(__). See _L_a_b_e_l_s in chapter 6 of the printed manual for more informa-
tion.
--oo
----bbyy--oowwnneerr
During restore, sets files to their original ownership and group
membership. Normally, Vbackup sets file ownership and group member-
ship to those of the user performing the restore. Users must have
appropriate system privileges to restore files to ownerships other
than their own.
----oouuttppuutt _d_i_r-_s_p_e_c
During a restore operation, specifies the directory into which files
should be restored, and under some circumstances causes leading direc-
tory components of restored files to be partially discarded.
This option is normally specified as the second parameter on VMS-style
restore command lines, although it may also be specified as a regular
option on both VMS-style and tar-style command lines.
The --CC and --jj options override the effects of this option.
See _V_M_S-_s_t_y_l_e in chapter 4 of the printed manual for a full descrip-
tion of this option's semantics.
--pp
----rreeppllaaccee
During restore, silently overwrites existing files. Normally, when a
file restoration would overwrite an existing file, Vbackup issues an
error message and skips that restoration.
--PP _c_o_m_m_e_n_t
----ccoommmmeenntt _c_o_m_m_e_n_t
When writing a save set, stores _c_o_m_m_e_n_t in such a way that subsequent
listings of the save set display the comment. _c_o_m_m_e_n_t may not contain
more than 1024 characters.
--QQ
----rraaww
When restoring from a DEC BACKUP save set, disables the normal file
format translation mechanism so that restored files retain their low-
level RMS binary format. See _D_a_t_a _C_o_n_v_e_r_s_i_o_n in chapter 6 of the
printed manual for more information.
--RR
----rreewwiinndd
When reading or writing a tape archive, rewinds the tape prior to
accessing it. Normally, Vbackup starts at the current tape position
when reading and moves to the end of the data on a tape before writ-
ing.
During a write operation, this option has the side effect of initial-
izing the tape with the volume name and expiration date indicated by
other options. See _L_a_b_e_l_s in chapter 6 of the printed manual for more
information.
----rreesseett[==_k_e_y_w_o_r_d]
Unconditionally dismounts the indicated tapes or CD-ROMs if they are
mounted, and arranges for the next access to them to be unaffected by
problems that occurred when Vbackup previously accessed them.
If _k_e_y_w_o_r_d is AALLLL, then this option affects all tape and CD-ROM dev-
ices currently being accessed by Vbackup; otherwise, it affects only
devices specified by the --ff option.
This option should never be necessary unless there is a serious prob-
lem with the host system or with Vbackup. If this option becomes
necessary, please contact Boston Business Computing technical support
for assistance.
--ss _n_a_m_e
----nnaammee _n_a_m_e
When writing a save set to a tape, sets the name of the save set to
_n_a_m_e.
When reading one or more save sets from a tape, selects only save sets
whose names match _n_a_m_e, which may contain wildcards.
Save set names may be up to seventeen characters long, and may contain
upper case letters, numbers, underscores (__), hyphens (--), dollar
signs ($$), and up to one dot (..). Vbackup automatically modifies _n_a_m_e
as necessary to conform to these restrictions.
On VMS-style command lines, this option is normally specified as the
file name portion of the device parameter.
----ssaavvee--sseett
Indicates that the preceding parameter specifies the location of a
save set. Normally, this option is used only on VMS-style command
lines, but it may also be used on tar-style command lines.
----sseelleecctt _s_p_e_c
During a restore or list operation, specifies the files that should be
restored or listed. If this option is absent, all files in the indi-
cated archives are restored or listed.
On tar-style command lines, this option is normally specified as all
parameters.
See _S_p_e_c_i_f_y_i_n_g _F_i_l_e_s _T_o _R_e_s_t_o_r_e in chapter 4 of the printed manual for
more information.
----sseettuupp _k_e_y_w_o_r_d
Allows customizing various aspects of Vbackup's operation.
This option should generally not be used unless it is explicitly
recommended by Boston Business Computing technical support. Normally,
Vbackup infers suitable defaults for optimal operation, making this
option unnecessary under most circumstances. When it is necessary, it
is typically specified in configuration files to avoid excessively
long and cryptic command lines.
The particular aspect of Vbackup's operation that this option affects
depends on the value of _k_e_y_w_o_r_d, which may be one of the following:
AACCCCEESSSS
When performing an operation that results in mounting a tape or CD-
ROM, Vbackup normally only allows the user running Vbackup to access
the media while it is mounted. This option allows access by the
user's group if _k_e_y_w_o_r_d is GGRROOUUPP and by everybody if _k_e_y_w_o_r_d is
WWOORRLLDD.
Note that Vbackup cannot protect unmounted media against unauthor-
ized access: whenever a tape or CD-ROM is loaded in a device, it is
accessible by any user with sufficient system permission to access
the device.
AANNSSIIDD--PPAATTHH==_p_a_t_h
Locates the aannssiidd program at _p_a_t_h. The aannssiidd program is responsible
for maintaining mounted media state across multiple invocations of
Vbackup. It is normally located in the Boston Business Computing
installation directory as file aannssiidd.
DDIISSMMOOUUNNTT--TTIIMMEEOOUUTT==_t_i_m_e_o_u_t
On most systems, Vbackup automatically dismounts tapes mounted from
a login shell when the login shell exits. Vbackup detects that a
login shell has exited by periodically waking up and checking for
the shell's existence. This option overrides the default check
interval of 4 seconds.
EEXXTTRRAA--CCOONNFFIIGG==_f_i_l_e
Reads a configuration file at path _f_i_l_e. See _C_o_n_f_i_g_u_r_a_t_i_o_n _F_i_l_e_s in
chapter 3 of the printed manual for more information.
LLOOAADD--CCOOMMMMAANNDD==_c_m_d
Runs shell command _c_m_d prior to mounting the second and subsequent
tapes of a multi-volume archive. At the start of the command, shell
variables nnaamm, nnuumm, and ddeevv are respectively set to the volume name,
volume number, and device of the tape that will be mounted. If the
command completes successfully, Vbackup immediately attempts to
mount the tape without requesting further confirmation.
MMOOUUNNTT--RREETTRRYY
If a media mount attempt fails for an unknown reason, causes Vbackup
to try again instead of exiting with an error message.
QQMMEEMM==_n
Allocates _n instead of the default 1040384 bytes of shared memory
for the tape block queue. If the queue is large enough and the host
system is fast enough, Vbackup is able to access tapes at top speed
regardless of factors such as CPU scheduling, disk access times, and
network latency. Vbackup silently rounds _n up to the nearest multi-
ple of 512 not less than 325120.
QQPPRROOFFIILLEE==_p_a_t_h
Writes queue profile data to file _p_a_t_h in a format suitable for
input into the ggnnuupplloott program. The data can be helpful in select-
ing an optimal value for the ----sseettuupp==qqmmeemm option. For more informa-
tion, please contact Boston Business Computing technical support.
RREETTRRIIEESS==_n
When reading a save set, retries failed read operations _n instead of
the default 50 times before giving up and exiting.
RRMMTT--PPAATTHH==_p_a_t_h
When accessing a device on a remote system, starts the rrmmtt program
on the remote system by running _p_a_t_h instead of the default
//eettcc//rrmmtt. The ----mmeeddiiaa==rrmmtt--ppaatthh option overrides this option.
RRSSHH--PPAATTHH==_p_a_t_h
When accessing a device on a remote system, runs _p_a_t_h to open a
channel to the remote system. The ----mmeeddiiaa==rrsshh--ppaatthh option overrides
this option.
RRUUNNDDIIRR==_d_i_r
Locates Vbackup device arbitration information in directory _d_i_r
instead of //ttmmpp//..bbbbcc//. Because Vbackup locks files in this direc-
tory, this option may be necessary on systems whose //ttmmpp file sys-
tems do not support file locking.
SSUUPPPPRREESSSS
Suppresses display of the message indicated by _k_e_y_w_o_r_d. Currently,
the messages that can be suppressed are:
FFIIXXRREECC issued when Vbackup writes save set tape labels longer than
80 bytes
NNOOAADDMM issued when the auto-dismount mechanism is disabled
NNOOEEOOVV while writing a multi-volume tape archive, issued when
Vbackup completes a tape with no end-of-volume label set
SSYYSSTTEEMM--CCOONNFFIIGG==_f_i_l_e
Locates the system configuration file at path _f_i_l_e. See _C_o_n_f_i_g_u_r_a_-
_t_i_o_n _F_i_l_e_s in chapter 3 of the printed manual for more information.
TTAAPPEEDD--PPAATTHH==_p_a_t_h
Locates the ttaappeedd program at _p_a_t_h. The ttaappeedd program is responsible
for maximizing throughput between Vbackup and tape devices. It is
normally located in the Boston Business Computing installation
directory as file ttaappeedd.
UUSSEERR--CCOONNFFIIGG==_f_i_l_e
Locates the user configuration file at path _f_i_l_e. See _C_o_n_f_i_g_u_r_a_t_i_o_n
_F_i_l_e_s in chapter 3 of the printed manual for more information.
--tt
--TT _f_i_l_e
----lliisstt[==_f_i_l_e]
Lists the files contained in one or more archives. If _f_i_l_e is speci-
fied, the listing is written to that file; otherwise, it is written to
the standard output stream, which is typically the terminal from which
the Vbackup command was invoked.
In a listing, the information about each file occupies a single line
unless the ----ffuullll option or the --vv option is specified, in which case
the information about each file occupies several lines.
Normally, save set listings only show information meaningful on the
system on which the save set was created. The ----ccoonnvveerrtt==lliisstt over-
rides this behavior.
----ttaappee--eexxppiirraattiioonn _d_a_t_e
When writing to the beginning of a tape, sets the tape's expiration
date to _d_a_t_e. See _L_a_b_e_l_s in chapter 6 of the printed manual for more
information.
--uu
----uunnllooaadd
When performing any operation that involves dismounting a tape or CD-
ROM, prevents the tape or CD-ROM from being unloaded as part of the
dismount procedure.
When performing any operation that involves mounting a tape or CD-ROM,
prevents the tape or CD-ROM from being unloaded as part of its even-
tual dismount procedure if this option is absent at that time.
If this option is absent at both ends of a tape's or CD-ROM's mount-
dismount cycle, Vbackup unloads the tape or CD-ROM when dismounting
it.
--UU
----uuppppeerrccaassee
When restoring from a DEC BACKUP or Files-11 archive, disables conver-
sion of file names to lower case. File names in DEC BACKUP and
Files-11 archives normally are in upper case, so this option normally
yields upper case file names. See _F_i_l_e _N_a_m_e _C_o_n_v_e_r_s_i_o_n in chapter 4
of the printed manual for more information.
--vv
----vveerrbboossee
Activates the ----lloogg and ----ffuullll options, causing log messages to be
displayed when saving or restoring and more details to be displayed
when listing.
--VV
----vveerrssiioonn
During save, interprets a dot (..) followed by digits at the end of a
file name as a VMS version number. During restore, appends each
file's VMS version number and a preceding dot to its restored file
name.
--ww
----ccoonnffiirrmm
Interactively prompts for confirmation before saving or restoring each
file. Responses to the prompt are case-insensitive and may be abbre-
viated to a single letter. Vbackup recognizes the following
responses:
YYEESS, TTRRUUEE, or 11
Perform the current action.
NNOO, FFAALLSSEE, 00, or EENNTTEERR
Do not perform the current action.
AALLLL
Perform the current and all subsequent actions.
QQUUIITT
Do not perform the current or any subsequent action.
--xx
----rreessttoorree
Restores files from one or more archives.
On VMS-style command lines, this option is normally implied by the
combination of an archive as the first parameter and a directory as
the second.
See _O_p_e_r_a_t_i_n_g _M_o_d_e_s in chapter 2 of the printed manual and _A_r_c_h_i_v_e
_L_o_c_a_t_i_o_n_s in chapter 2 of the printed manual for more information.
--yy _d_a_t_e
----ssiinnccee _d_a_t_e
Selects only files whose dates follow _d_a_t_e, which must be in VMS abso-
lute time format, described in _D_a_t_e _S_p_e_c_i_f_i_c_a_t_i_o_n_s in chapter 6 of the
printed manual.
By default, Vbackup compares _d_a_t_e against each file's modification
date except when extracting from a DEC BACKUP or Files-11 archive,
when it compares against each file's creation date. See _F_i_l_e _D_a_t_e_s in
chapter 6 of the printed manual for more information.
--YY _d_a_t_e
----bbeeffoorree _d_a_t_e
Selects only files whose dates precede _d_a_t_e, which must be in VMS
absolute time format, described in _D_a_t_e _S_p_e_c_i_f_i_c_a_t_i_o_n_s in chapter 6 of
the printed manual.
By default, Vbackup compares _d_a_t_e against each file's modification
date except when extracting from a DEC BACKUP or Files-11 archive,
when it compares against each file's creation date. See _F_i_l_e _D_a_t_e_s in
chapter 6 of the printed manual for more information.
EXAMPLES
Save Mode
vvbbaacckkuupp --ccvvff //ddeevv//nnrrmmtt00hh //ttmmpp//ddaattaa
Stores directory tree //ttmmpp//ddaattaa// into a save set on tape device
//ddeevv//nnrrmmtt00hh, displaying a log message after storing each file.
vvbbaacckkuupp --ccTT rroooott..jjaann22000000 --RRff //ddeevv//rrmmtt//00nn --ssrroooott..jjaann22000000
Stores the root directory tree into save set RROOOOTT..JJAANN22000000 on tape dev-
ice //ddeevv//rrmmtt//00nn, rewinding the tape prior to writing and generating a
listing of the save set's contents in file rroooott..jjaann22000000.
vvbbaacckkuupp --ccff mmaarrvviinn:://ddeevv//nnrrmmtt88 --ssssrrcc..ssaavv ''**..cc'' ''**..hh''
Stores files whose names end in ..cc or ..hh into save set SSRRCC..SSAAVV on tape
device //ddeevv//rrmmtt88 on host mmaarrvviinn.
vvbbaacckkuupp --cc11RRvvff //ddeevv//nnrrmmtt00 --NNssiimm99 ''**..ssiimm''
Stores files whose names end in ..ssiimm into a Files-11 archive on tape
device //ddeevv//nnrrmmtt00, rewinding the tape prior to writing, setting the
tape's volume name to SSIIMM99, and displaying a log message after storing
each file.
vvbbaacckkuupp --ccvvff ssttuu..ssaavv //hhoommee//ssttuu
Stores the directory tree rooted at //hhoommee//ssttuu// into disk save set
ssttuu..ssaavv, displaying a log message after saving each file.
Restore Mode
vvbbaacckkuupp --xxvvff //ddeevv//nnrrmmtt11
Restores all files from the next save set on tape device //ddeevv//nnrrmmtt11
into the current working directory, displaying a log message after
restoring each file.
vvbbaacckkuupp --xxvvff //ddeevv//rrmmtt//ttppss00dd44nnrrnnssvv --sseettcc..ssaavv ppaasssswwdd ggrroouupp
Restores files ppaasssswwdd and ggrroouupp from save set EETTCC..SSAAVV on tape device
//ddeevv//rrmmtt//ttppss00dd44nnrrnnssvv into the current directory, displaying a log mes-
sage after restoring each file.
vvbbaacckkuupp --xxvvff //ddeevv//rrmmtt//00nn --CC//ttmmpp
Restores all files from the next save set on tape device //ddeevv//nnrrmmtt11
into directory //ttmmpp//, displaying a log message after restoring each
file.
vvbbaacckkuupp --xx11vvff //ddeevv//nnrrmmtt00 ''**..oouutt''
Restores all files whose names end in ..oouutt from the Files-11 archive
on tape device //ddeevv//nnrrmmtt00 into the current directory, displaying a log
message after restoring each file.
vvbbaacckkuupp --xxvvff ddaattaa..ssaavv ''**..ddaatt''
Restores all files whose names end in ..ddaatt from disk save set ddaattaa..ssaavv
into the current directory, displaying a log message after restoring
each file.
List Mode
vvbbaacckkuupp --ttff //ddeevv//rrmmtt//00nn
Lists the contents of the next save set on tape device //ddeevv//rrmmtt//00nn.
vvbbaacckkuupp --ttff qquuiimmbbyy:://ddeevv//rrmmtt//11nn --ss''**..**''
Lists the contents of all save sets on tape device //ddeevv//rrmmtt//11nn on host
qquuiimmbbyy.
vvbbaacckkuupp --tt11ff //ddeevv//rrmmtt00..11
Lists the contents of the Files-11 archive on tape device //ddeevv//rrmmtt00..11.
If the tape contained save sets, this example would list the names of
those save sets without listing their contents; see _L_i_s_t_i_n_g _S_a_v_e _S_e_t
_N_a_m_e_s in chapter 6 of the printed manual for more information.
vvbbaacckkuupp --ttvvff ddaattaa..ssaavv
Lists full details about the contents of disk save set ddaattaa..ssaavv.
FILES
$$HHOOMMEE//..vvbbaacckkuupprrcc Per-user configuration file
//uussrr//lliibb//bbbbcc//vvbbaacckkuupprrcc System-wide configuration file
AUTHOR
Boston Business Computing, Ltd.
13 Branch Street
Methuen, MA 01844-1955
(978) 725-3222
info@bosbc.com
http://www.bosbc.com/